/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.record.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.record.entity.Record;
import com.jeeplus.modules.record.mapper.RecordMapper;

/**
 * 记录Service
 * @author lxj
 * @version 2020-12-17
 */
@Service
@Transactional(readOnly = true)
public class RecordService extends CrudService<RecordMapper, Record> {

	public Record get(String id) {
		return super.get(id);
	}
	
	public List<Record> findList(Record record) {
		return super.findList(record);
	}
	
	public Page<Record> findPage(Page<Record> page, Record record) {
		return super.findPage(page, record);
	}
	
	@Transactional(readOnly = false)
	public void save(Record record) {
		super.save(record);
	}
	
	@Transactional(readOnly = false)
	public void delete(Record record) {
		super.delete(record);
	}
	
}